﻿using System.ComponentModel;

namespace JuCheap.Core.Model.Message
{
    /// <summary>
    /// 站内信类型
    /// </summary>
    public enum MessageType : byte
    {
        /// <summary>
        /// 所有人
        /// </summary>
        [Description("所有人")]
        All = 0,
        /// <summary>
        /// 指定用户
        /// </summary>
        [Description("指定用户")]
        Users = 1
    }

    /// <summary>
    /// 站内信状态
    /// </summary>
    public enum MessageStatus
    {
        /// <summary>
        /// 未读
        /// </summary>
        [Description("未读")]
        UnRead = 0,
        /// <summary>
        /// 已读
        /// </summary>
        [Description("已读")]
        Read = 1,
        /// <summary>
        /// 已删除
        /// </summary>
        [Description("已删除")]
        Delete = 2
    }

    /// <summary>
    /// 查询类型
    /// </summary>
    public enum MessageQueryType
    {
        /// <summary>
        /// 我发送的
        /// </summary>
        SendByMe = 1,
        /// <summary>
        /// 我接收的
        /// </summary>
        ReceiveByMe = 2
    }
}
